package com.shop.technicalservice.dao.favorite;

import java.util.List;

import com.shop.technicalservice.model.favorite.Favorites;

public interface FavoritesDao {
	
	public Favorites save(Favorites transientInstance) throws Exception;
	
	public void delete(Favorites persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Favorites merge(Favorites detachedInstance) throws Exception;
	
	public Favorites findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Favorites instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(Favorites instance)  throws Exception;
	
	public void attachClean(Favorites instance)  throws Exception;
	
	public List findByUserName(Object userName)  throws Exception;
	
	public List findByStatus(Object status)  throws Exception;
	
	
}
